home *** CD-ROM | disk | FTP | other *** search
/ The 640 MEG Shareware Studio 2 / The 640 Meg Shareware Studio CD-ROM Volume II (Data Express)(1993).ISO / clang / lh211src.zip / INTRFACE.H < prev    next >
C/C++ Source or Header  |  1991-01-13  |  675b  |  37 lines

  1. #include "typedef.h"
  2.  
  3. typedef short  node;
  4.  
  5. struct interfacing {
  6.     FILE *infile;
  7.     FILE *outfile;
  8.     ulong original;
  9.     ulong packed;
  10.     int dicbit;
  11.     int method;
  12.     int blkcnt;
  13.     char *internal;
  14. };
  15.  
  16. extern struct interfacing interface;
  17.  
  18. /* from error.c */
  19. void error(char *errmes, char *p);
  20. void fileerror(char *err, FILE *file);
  21.  
  22. /* from slide.c */ 
  23. extern node far *next;
  24. extern uchar text[];
  25.  
  26. #define TEXT_SIZE 0x4100
  27.  
  28. int encode_alloc(int method);
  29. void encode(struct interfacing *interface);
  30. void decode(struct interfacing *interface);
  31.  
  32. /* from crcio.c */
  33. extern ushort crc;
  34.  
  35. void make_crctable(ushort crcpoly);
  36. ushort calccrc(uchar *p, uint n);
  37.